/**
 * 分类
 */
//  class PartitionType {
//     constructor(public id: number, public name: string, 
//         public children: PartitionType[] = []) {}
// }
// function createPartitionTypes(data: any[]): PartitionType[] {
//     return data.map((item) => new PartitionType(item.tid, item.typename));
// }
// interface TabItem {
//     id: number;
//     name: string;
// }
interface PartitionType {
    id:number;
    name:string;
    children?:PartitionType[]
}

export type{
    PartitionType,
    // createPartitionTypes
};
// export type { TabItem };
